package com.xinguan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 陈俊行
 * @Date: 2023/11/05/9:22
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("commodity")
public class Commodity implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId("id")
    private Integer id;
    private String commodityName;
    private Double cost;
    private Double currentPrice;
    private Integer inventory;
    private Integer dangerInventory;
    private String sellingUnit;
    private byte[] file;
    private Integer popularity;
    //private Types types;
    private Integer inventoryStatus;
    private String categoryId;
}
